package br.com.jbssistemas.dirfweb.util;

import javax.faces.application.Application;
import javax.faces.context.FacesContext;

/**
 *
 * @author Daniel
 * 
 */

public abstract class ManagedBeanUtil {

    public static Object getContextInfo(String info) {  
          FacesContext context = FacesContext.getCurrentInstance();  
          Application application = context.getApplication();  
          return application.createValueBinding(info).getValue(context);  
    }
    
}
